package com.magenta.maxoptra.routing.geo_routing;

import com.magenta.maxoptra.gis.GeoInfoRequestId;
import com.magenta.maxoptra.gis.ResponseRouting;

/*
* Project: MaxOptRA v1.2
* User: Ivan Usalko
* Date: 13.09.2009 17:14:10
*
* Copyright (c) 1999-2009 Magenta Corporation Ltd. All Rights Reserved.
* Magenta Technology proprietary and confidential.
* Use is subject to license terms.
*/
public class ResponseRoutingError extends ResponseRouting {

    private String description;

    public ResponseRoutingError(GeoInfoRequestId requestId, double distance, long duration, Long placedTime, String errDescr) {
        super(requestId, distance, duration, placedTime);
        this.description = errDescr;
    }

    public String getDescription() {
        return description;
    }
}
